﻿namespace FastColoredTextBoxNS
{
    /// <summary>
    /// 	Char and style
    /// </summary>
    public struct Char
    {
        /// <summary>
        /// 	Unicode character
        /// </summary>
        public char c;

        /// <summary>
        /// 	Style bit mask
        /// </summary>
        /// <remarks>
        /// 	Bit 1 in position n means that this char will rendering by FastColoredTextBox.Styles[n]
        /// </remarks>
        public StyleIndex style;

        public Char(char c)
        {
            this.c = c;
            this.style = StyleIndex.None;
        }
    }
}